package com.powergisol.gis.service;

import org.springframework.http.ResponseEntity;

import java.io.InputStream;


public interface RemoteService {
    /**
     * 根据服务名称和位移标识获取模块文件地址
     * @param serviceName
     * @param uniqueFlag
     * @return
     */
    ResponseEntity getServiceChunks(String serviceName, String uniqueFlag);

    /**
     * 保存模块
     * @param serviceName
     * @param uniqueFlag
     * @param in
     * @return
     */
    ResponseEntity saveServiceChunks(String serviceName, String uniqueFlag, InputStream in);

}
